package com.deepfos.outreach.domain;

import com.yomahub.liteflow.entity.data.AbsSlot;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Objects;

public class CashFlowSlot extends AbsSlot {

    private List<String> cf_ids;

    private CashFlowPushDto cfpd;

    private List<CashFlowPushDto> cfpds;

    public List<String> getCf_ids() {
        return cf_ids;
    }

    public void setCf_ids(List<String> cf_ids) {
        this.cf_ids = cf_ids;
    }

    public CashFlowPushDto getCfpd() {
        return cfpd;
    }

    public void setCfpd(CashFlowPushDto cfpd) {
        this.cfpd = cfpd;
    }

    public List<CashFlowPushDto> getCfpds() {
        return cfpds;
    }

    public void setCfpds(List<CashFlowPushDto> cfpds) {
        this.cfpds = cfpds;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CashFlowSlot that = (CashFlowSlot) o;
        return Objects.equals(cf_ids, that.cf_ids) && Objects.equals(cfpd, that.cfpd) && Objects.equals(cfpds, that.cfpds);
    }

    @Override
    public int hashCode() {
        return Objects.hash(cf_ids, cfpd, cfpds);
    }
}
